/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.cesupa.sessionbean;

import br.cesupa.localinterface.VeiculoDAO;
import br.cesupa.sgc.entity.Veiculo;
import javax.ejb.Stateless;

/**
 *
 * @author yuri
 */
@Stateless
public class VeiculoSUDI extends GenericSUDI<Veiculo> implements VeiculoDAO {

    public Veiculo getByVeiculo(String veiculo) {
        return (Veiculo) super.executeNamedQueryObject("Veiculo.findByVeiculo", "veiculo", veiculo);
    }

}
